package cn.congzhou.crm.service;

import cn.congzhou.crm.domain.SystemDictionaryItem;
import cn.congzhou.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryItemService {

    int deleteByPrimaryKey(Long id);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    void saveOrUpdate(SystemDictionaryItem sysDicItem);

    PageInfo<SystemDictionaryItem> selectByPage(QueryObject qo);

    List<SystemDictionaryItem> selectAllJobs();

    List<SystemDictionaryItem> selectAllSources();

//    查询所有跟进类型
    List<SystemDictionaryItem> selectAllTypes();

    SystemDictionaryItem selectByName(String curriculumStr);

    List<SystemDictionaryItem> selectAllCurriculum(String curriculum);
}
